<?php

namespace Application\Form;
use Zend\Form\Form;

class ConnexionForm extends Form{
	public function __construct(){
	
		parent::__construct("Espce_client");
		
		$this->setAttribute('method','post');
		$this->add(array(
				'name' =>'login',
				'attributes' => array(
						'type' =>'text',
				 ),
				 'options' => array(
					'label' => _('Login'),
				)));	

		$this->add(array(
			'name' => 'password',
			'attributes' => array(
			'type' => 'password',
		),
			'options' =>array(
				'label' => _('Mot de passe')
			)
		));
		
		$this->add(array(
				'name' => 'submit',
				'attributes' => array(
						'type'  => 'submit',
						'width' => '30px',
						'value' => 'Connexion',
						'id' => 'submitbutton',
				),
		));
	}
	
}

?>